import {http} from '@/libs/httpRequest';

// 表格数据
export function getList (params) {
    return http({
        url: '/admin/config/list',
        method: 'get',
        params: params
    })
}

// 保存参数
export function save (data) {
    return http({
        url: '/admin/config/save',
        method: 'post',
        data: data
    })
}

// 修改参数
export function update (data) {
    return http({
        url: '/admin/config/update',
        method: 'post',
        data: data
    })
}

//删除参数
export function remove(data){
    return http({
        url:'/admin/config/delete',
        method:'delete',
        data:data
    })
}
